package com.homework;

public class Homework06 {
    public static void main(String[] args) {
        //测试
        Doctor doctor1 = new Doctor("anna", 36, "主管", '女', 20000);
        Doctor doctor2 = new Doctor("anna", 6, "主管", '女', 20000);
        System.out.println(doctor1.equals(doctor2));
    }
}
